<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改工单钉钉消息通知记录')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-message-edit" th:object="${tDingtalkMessage}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">生产订单号：</label>
                <div class="col-sm-8">
                    <input name="orderNo" th:field="*{orderNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">生产订单行号：</label>
                <div class="col-sm-8">
                    <input name="orderLine" th:field="*{orderLine}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">存货编码：</label>
                <div class="col-sm-8">
                    <input name="goodNo" th:field="*{goodNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">存货名称：</label>
                <div class="col-sm-8">
                    <input name="goodName" th:field="*{goodName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">规格型号：</label>
                <div class="col-sm-8">
                    <input name="category" th:field="*{category}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工序行号：</label>
                <div class="col-sm-8">
                    <input name="workLine" th:field="*{workLine}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工序名称：</label>
                <div class="col-sm-8">
                    <input name="workName" th:field="*{workName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">生产数量：</label>
                <div class="col-sm-8">
                    <input name="workNum" th:field="*{workNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">工单状态：</label>
                <div class="col-sm-8">
                    <input name="workStatus" th:field="*{workStatus}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">操作人工号：</label>
                <div class="col-sm-8">
                    <input name="operationNo" th:field="*{operationNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">操作人姓名：</label>
                <div class="col-sm-8">
                    <input name="operationName" th:field="*{operationName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">班组名称：</label>
                <div class="col-sm-8">
                    <input name="teamName" th:field="*{teamName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">班长工号：</label>
                <div class="col-sm-8">
                    <input name="teamLeader" th:field="*{teamLeader}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">班长姓名：</label>
                <div class="col-sm-8">
                    <input name="teamLeaderName" th:field="*{teamLeaderName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">通知状态：</label>
                <div class="col-sm-8">
                    <label class="radio-box"> <input type="radio" name="status" th:field="*{status}" value="0" /> 待通知 </label>
                    <label class="radio-box"> <input type="radio" name="status" th:field="*{status}" value="1" /> 已通知 </label>
                    <label class="radio-box"> <input type="radio" name="status" th:field="*{status}" value="2" /> 已过期 </label>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/message";
        $("#form-message-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-message-edit').serialize());
            }
        }
    </script>
</body>
</html>